
<template>
  <!------------------------------------ 采购中心商品信息展示栏 ------------------------------------
    @desc 基础信息
    @author kyle
    @date 2021-04-13
    @props
      model     ———— 商品详情数据
  -->
  <div class="mg-20 bg-white pd-20 br-12">
    <p v-if="model.MinPrice<model.MaxPrice" class="color-primary fs-52">
      <span class="fs-32 mr--2">￥</span>{{ model.MinPrice }}<span class="fs-32 mr--2"> ~￥</span>{{ model.MaxPrice }}
    </p>
    <p v-if="model.MinPrice===model.MaxPrice" class="color-primary fs-52">
      <span class="fs-32 mr--2">￥</span>{{ model.MinPrice }}
    </p>
    <p class="text-show-line-2 fs-32 fw-b">{{ model.ProductName }}</p>
    <p class="color-gray-light mt-10">
      <span class="mr-30">起批量：{{ model.MinNum }}{{ model.BaseUnit }}</span>
      <span>增量：{{ model.AddNum }}{{ model.BaseUnit }}</span>
    </p>
  </div>
</template>

<script>

export default {
  name: 'PurchaseIntro',
  components: {
  },
  props: {
    model: { // 数据
      type: Object,
      required: true,
      default: function() {
        return {}
      }
    }
  },
  data() {
    return {
    }
  },
  computed: {

  }

}
</script>

<style lang="scss" scoped>

</style>
